package org.testtools.bean;

import java.util.HashMap;
import java.util.Map;

import org.testtools.handler.StringHandler;

public class Template {

    public final String ORIGINAL;

    public final String PARSED;

    public final Map<String, String> VALUES = new HashMap<String, String>();

    public Template(String mask, Map<String, String> values) {
        this.ORIGINAL = mask;
        this.VALUES.putAll(values);
        this.PARSED = StringHandler.replaceAllValues(this.ORIGINAL, this.VALUES);
    }
}
